#ifndef QTMAINTIMER_H
#define QTMAINTIMER_H

#include <QTimer>
#include "nonqtmain.h"



class QtMainTimer: public QTimer
{
public:

	QtMainTimer(int interval, QObject * parent = 0);

	~QtMainTimer();

	bool TimerFire(TimerFire_namespace::TimerFireType type);


	void Start();

private:

	CTimerRoutine* m_timerRoutine;

	int m_interval;
};













#endif